package com.cykj.faceledtv.entity;


/**
 * netty tcp常量类
 *
 * @author jzh
 * @date 2019/05/09 18:37
 */
public class NettyConstants {
    /**
     * 头标识
     */
    public static final char HEAD = '\n';
    /**
     * 心跳指令
     */
    public static final char HEART = 0x11;

    /**
     * 尾标识
     */
    public static final char END = '\r';

    public static final String SERVICE_NAME = "service_name";
    public static final String MAC = "mac";
    public static final String DATA = "data";

    public static final String LOGIN = "appLedLogin";

    /**
     * 平台添加或修改人脸
     */
    public static final String USER_ADD = "userToLED";

    /**
     * 平台删除单个人脸
     */
    public static final String USER_DEL = "delToLED";
    /**
     * 平台删除所有人脸
     */
    public static final String USER_DEL_ALL = "delAllToLED";
    /**
     * 平台下发进出记录
     */
    public static final String INOUT_RECORD = "inOutToLED";
    /**
     * 平台下发广告语
     */
    public static final String PUSH_AD = "pushAdvToLED";
    /**
     * 参数
     */
    public static final String SET_PAR = "ledSetPar";

    /**
     * 重连平台
     */
    public static final String RE_START = "ledAppReStart";

    /**
     * 工地名
     */
    public static final String SITE_NAME = "ledAppSiteName";
    public static final String LED_SET_PAR = "setPar";


}
